# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=goreman
pkgver=0.3.9
pkgrel=3
pkgdesc="Tool to manage Procfile-based applications"
url="https://github.com/mattn/goreman"
arch="all"
license="MIT"
makedepends="go"
source="https://github.com/mattn/goreman/archive/v$pkgver/goreman-$pkgver.tar.gz"
options="!check" # No test suite

export GOFLAGS="$GOFLAGS -modcacherw -trimpath"

build() {
	go build -o bin/goreman .
}

package() {
	install -Dm755 bin/goreman "$pkgdir"/usr/bin/goreman
}

sha512sums="
0ed05b347cfc01aa796559c1e6160800ba0df1c684aa910713126cfad0bb5223a4553df76c259489ccfa70b81c91806de285e78fc04012058ccd6d30f7918af9  goreman-0.3.9.tar.gz
"
